<input type="hidden" id="pageSize" name="pageSize" value="${page.pageSize}" />
<input type="hidden" id="searchProperty" name="searchProperty" value="${page.searchProperty}" />
<input type="hidden" id="orderProperty" name="orderProperty" value="${page.orderProperty}" />
<input type="hidden" id="orderDirection" name="orderDirection" value="${page.orderDirection}" />
[#if totalPages > 1]
<div class="page-panel">
<ul class="am-pagination">
		[#if isFirst]
            <li><a href="javascript:void(0)" >&laquo; 首页</a></li>
		[#else]
            <li><a href="javascript: $.pageSkip(${firstPageNumber});" >&laquo; 首页</a></li>
		[/#if]
		[#if hasPrevious]
            <li><a href="javascript: $.pageSkip(${previousPageNumber});">&laquo;</a></li>
		[#else]
            <li class="am-disabled"><a href="javascript: $.pageSkip(${previousPageNumber});">&laquo;</a></li>
		[/#if]
		[#list segment as segmentPageNumber]
			[#if segmentPageNumber_index == 0 && segmentPageNumber > firstPageNumber + 1]
                <li><span>...</span></li>
			[/#if]
			[#if segmentPageNumber != pageNumber]
                <li><a href="javascript: $.pageSkip(${segmentPageNumber});">${segmentPageNumber}</a></li>
			[#else]
                <li class="am-active"><a href="javascript:void(0)">${segmentPageNumber}</a></li>
			[/#if]
			[#if !segmentPageNumber_has_next && segmentPageNumber < lastPageNumber - 1]
                <li><span>...</span></li>
			[/#if]
		[/#list]
		[#if hasNext]
            <li><a href="javascript: $.pageSkip(${nextPageNumber});">&raquo;</a></li>
		[#else]
            <li><a href="javascript:void(0)">&raquo;</a></li>
		[/#if]
		[#if isLast]
            <li><a href="javascript:void(0)">尾页 &raquo;</a></li>
		[#else]
            <li><a href="javascript: $.pageSkip(${lastPageNumber});">尾页 &raquo;</a></li>
		[/#if]
		<span class="pageSkip">
			${message("admin.page.totalPages", totalPages)} ${message("admin.page.pageNumber", '<input id="pageNumber" name="pageNumber" value="' + pageNumber + '" maxlength="9" onpaste="return false;" class="page-number" />')}
				<button type="submit" class="am-btn am-btn-primary  am-btn-xs">跳转</button>
		</span>
</ul>
</div>
[/#if]